package com.dwb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * @author 189****3725
 * @date 2020-06-24 16:12:49
 * @email 
 */
@Data
@ApiModel("商品分类")
public class SGoodsCategory implements Serializable {

    @ApiModelProperty(value = "自增id")
    @Id
    private Integer id;

    @ApiModelProperty(value = "父id")
    private Integer pid;

    @ApiModelProperty(value = "icon图标")
    private String icon;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "副标题")
    private String viceName;

    @ApiModelProperty(value = "描述")
    @Column(name = "`describe`")
    private String describe;

    @ApiModelProperty(value = "css背景色值")
    private String bgColor;

    @ApiModelProperty(value = "大图片")
    private String bigImages;

    @ApiModelProperty(value = "是否首页推荐（0否,1是）")
    private Byte isHomeRecommended;

    @ApiModelProperty(value = "排序")
    private Byte sort;

    @ApiModelProperty(value = "是否启用（0否，1是）")
    private Boolean isEnable;

    @ApiModelProperty(value = "SEO标题")
    private String seoTitle;

    @ApiModelProperty(value = "SEO关键字")
    private String seoKeywords;

    @ApiModelProperty(value = "SEO描述")
    private String seoDesc;

    @ApiModelProperty(value = "添加时间")
    private Integer addTime;

    @ApiModelProperty(value = "更新时间")
    private Integer updTime;
    @ApiModelProperty(value = "商品标识")
    private Integer serviceType;

}